package com.zt.event.event.event;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.context.event.SpringApplicationEvent;

/**
 * @author system
 */
public class CustomsApplicationStartingEvent extends SpringApplicationEvent {

    private final long costTime;

    /**
     * {@link CustomsApplicationStartingEvent}
     *
     * @param application
     * @param args
     * @param costTime
     */
    public CustomsApplicationStartingEvent(SpringApplication application, String[] args, long costTime) {
        super(application, args);
        this.costTime = costTime;
    }

    public long getCostTime() {
        return this.costTime;
    }
}
